﻿using System;
using System.Linq;
using System.Web.UI;
using ASPNETVN.PORTAL.Modules.CMS.Components;

namespace KLP.Modules.HOME
{
    public partial class ScrollingContent : Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (IsPostBack == false)
            {
                //int top = Convert.ToInt32(Request.QueryString["top"]);
                Guid mid = new Guid(Request.QueryString["mid"]);
                rptItem.DataSource = ASPNETVN.PORTAL.Modules.CMS.Components.Item.GetItemsByDisplayType(mid, "KLP.TB");
                rptItem.DataBind();
            }
        }
    }
}
